package com.test.design_pattern.strategy.demo1;

/**
 * @author : zhangwei
 * @date : 2020-07-22
 **/
public class ProfitStrategyA implements ProfitStrategy{
    @Override
    public double cal(double d) {
        return d + d*0.1;
    }
}
